package com.tianxiao.faas.common.constants;

import com.google.common.collect.Lists;

import java.util.List;

public class UserLogActionConstants {
    public static String ARTICLE_SAVE = "文章修改/插入";
    public static String ARTICLE_PUBLISH = "文章发布";
    public static String BANNER_SAVE = "banner修改/插入";
    public static String BANNER_unshelve = "下架banner";
    public static String BANNER_bind = "banner绑定文章";
    public static String BAZAAR_save = "集市创建/修改";
    public static String BAZAAR_audit = "集市审核";
    public static String BAZAAR_detail_update = "集市详情更新";
    public static String ADMIN = "分配管理员";
    public static String SHOP_CREATE = "店铺创建";


    public static List<String> actions = Lists.newArrayList(ARTICLE_SAVE,
            ARTICLE_PUBLISH,
            BANNER_SAVE,
            BANNER_unshelve,
            BANNER_bind,
            BAZAAR_save,
            BAZAAR_audit,
            BAZAAR_detail_update,
            ADMIN,
            SHOP_CREATE);
}
